﻿using Abp.Dependency;
using System.Threading.Tasks;

namespace Partner.Surround.MinIO.Services
{
    public interface IMinIOService : ITransientDependency
    {
        Task UploadFile(string objectName, string filePath, string contentType, string bucketName = "default", string location = "us-east-1");

        Task<string> GetFileUrlAsync(string bucketName, string objectName, int expiresInt = 604800);
    }
}